/**
 * 
 */
package com.qolome.mail.model;

import org.springframework.web.multipart.MultipartFile;

/**
 * @Description: SendIndo
 * @author 姜锋
 * @date 2018年6月22日 上午9:36:30
 * @version V1.0
 */
public class SendIndo {
	// 发件服务器
	private String sendHost;
	// 发件服务器 端口
	private Integer sendPort;
	// 发件人邮箱地址
	private String sendUsername;
	// 发件人密码
	private String sendPassword;
	// 收件人地址(发给多人时地址请以分号隔开)
	private String recipients;
	// 主题
	private String subject;
	// 发送内容
	private String sendText;
	
	//附件 使用spring-web接受
	private MultipartFile[] attachment;
	// 是否为HTML格式 默认为HTML
	private boolean isHtml = true;
	public String getSendHost() {
		return sendHost;
	}
	public void setSendHost(String sendHost) {
		this.sendHost = sendHost;
	}
	
	public Integer getSendPort() {
		return sendPort;
	}
	public void setSendPort(Integer sendPort) {
		this.sendPort = sendPort;
	}
	public String getSendUsername() {
		return sendUsername;
	}
	public void setSendUsername(String sendUsername) {
		this.sendUsername = sendUsername;
	}
	public String getSendPassword() {
		return sendPassword;
	}
	public void setSendPassword(String sendPassword) {
		this.sendPassword = sendPassword;
	}
	public String getRecipients() {
		return recipients;
	}
	public void setRecipients(String recipients) {
		this.recipients = recipients;
	}
	public String getSubject() {
		return subject;
	}
	public void setSubject(String subject) {
		this.subject = subject;
	}
	public String getSendText() {
		return sendText;
	}
	public void setSendText(String sendText) {
		this.sendText = sendText;
	}
	
	public boolean isHtml() {
		return isHtml;
	}
	public void setHtml(boolean isHtml) {
		this.isHtml = isHtml;
	}
	public MultipartFile[] getAttachment() {
		return attachment;
	}
	public void setAttachment(MultipartFile[] attachment) {
		this.attachment = attachment;
	}
	
	
	
}
